package com.itrus.raapi;

import com.itrus.raapi.implement.RaCertManagerImpl;
import com.itrus.raapi.implement.RaConnectionImpl;
import com.itrus.raapi.implement.RaConnectionJniImpl;
import java.io.IOException;
import java.net.UnknownHostException;

public class RaFactory
{
  public static RaConnection getConnection()
    throws UnknownHostException, IOException
  {
    try
    {
      RaConnectionJniImpl localRaConnectionJniImpl = new RaConnectionJniImpl();
      return localRaConnectionJniImpl;
    }
    finally
    {
      localObject = finally;
      throw localObject;
    }
  }

  public static RaConnection getConnection(String paramString)
    throws UnknownHostException, IOException
  {
    try
    {
      RaConnectionImpl localRaConnectionImpl = new RaConnectionImpl(paramString);
      return localRaConnectionImpl;
    }
    finally
    {
      localObject = finally;
      throw localObject;
    }
  }

  public static RaConnection getConnection(String paramString, int paramInt1, int paramInt2)
    throws UnknownHostException, IOException
  {
    try
    {
      RaConnectionImpl localRaConnectionImpl = new RaConnectionImpl(paramString, paramInt1, paramInt2);
      return localRaConnectionImpl;
    }
    finally
    {
      localObject = finally;
      throw localObject;
    }
  }

  public static RaCertManager getRaCertManager(String paramString)
  {
    RaCertManagerImpl localRaCertManagerImpl = new RaCertManagerImpl();
    localRaCertManagerImpl.setAccountHash(paramString);
    return localRaCertManagerImpl;
  }

  public static RaCertManager getRaCertManager(String paramString1, String paramString2)
  {
    RaCertManagerImpl localRaCertManagerImpl = new RaCertManagerImpl();
    localRaCertManagerImpl.setAccountHash(paramString1, paramString2);
    return localRaCertManagerImpl;
  }

  public static RaCertManager getRaCertManager(String paramString1, String paramString2, int paramInt)
  {
    RaCertManagerImpl localRaCertManagerImpl = new RaCertManagerImpl();
    localRaCertManagerImpl.setAccountHash(paramString1);
    localRaCertManagerImpl.addRaService(paramString2, paramInt);
    return localRaCertManagerImpl;
  }
}

/* Location:           C:\Users\user\Desktop\dd28_pcdd720\classes_dex2jar.jar
 * Qualified Name:     com.itrus.raapi.RaFactory
 * JD-Core Version:    0.6.2
 */